package com.service.component.relation.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.service.component.common.entity.CommonEntity;
import io.swagger.annotations.ApiModel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author ：Calvin
 * @create ：2021/7/23 9:20
 * @description：用户角色关联关系实体
 * @modified By：
 * @version: 1.0.0$
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "用户角色关联关系实体")
@TableName(value = "sys_user_role_relation")
public class UserRoleRelation extends CommonEntity {

    @TableField(value = "USER_ID")
    private String userId;

    @TableField(value = "ROLE_ID")
    private String roleId;
}
